package com.soft.cqlinglong.oto.service.permission;

import com.soft.cqlinglong.oto.dao.model.TSMenu;
import com.soft.cqlinglong.oto.dao.model.TSUser;

import java.util.List;

/**
 * Created by huangxueqian on 2017/6/4/004.
 */
public interface TSMenuService {

    /**
     * saveTSMenu
     * @return 新增数据量
     * @throws Exception
     */
    public Integer saveTSMenu(TSMenu tsMenu) throws Exception ;

    /**
     * @param menuId 根据菜单查询 该菜单的详细信息
     * @throws Exception
     */
    public TSMenu findTSMenu(String menuId) throws Exception ;

    /**
     * @param tsUser 获取当前人员所有菜单
     */
    public List<TSMenu> queryTSMenuList(TSUser tsUser) throws Exception ;


}
